<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <style type="text/css">
		#top{
		background-color: yellow;
		}
	</style>
  </head>
  <body>
  
	<div align="center"><h2>用户汽车</h2>
	    <table border="1px" align="center">
		   <tr id="top">
		   		<td>用户姓名</td>
		   		<td>汽车价格</td>
		   		<td>汽车品牌</td>
		   		<td>车身颜色</td>
		   		<td>购车时间</td>
		   		<td>汽车重量</td>
		   		<td>车架号</td>
		   		<td>出产时间</td>
		   		<td>燃料</td>
		   		<td>发动机号</td>
		   		<td>车牌号</td>
		   		<td>使用性质</td>
		   		<td>排放等级</td>
		   		<td>年检时间</td>
		   		<td>品牌型号</td>
		   		<td>结构的点</td>	   		
		   		
		   				   		
		   		
		   		
		   </tr></br>
  	<form action="SelectCarServlet" method="post">
		   <c:forEach items="${requestScope.Car}" var="car">
			   <tr>
				   <td>${car.chezhuname}</td>
				   <td>${car.jiage}</td>
				   <td>${car.pinpai}</td>
				   <td>${car.yanse}</td>
				   <td>${car.goucheshijian}</td>
				   <td>${car.zhongliang}</td>
				   <td>${car.chejiahao}</td>
				   <td>${car.chuchangshijian}</td>
				   <td>${car.ranliao}</td>
				   <td>${car.fadongjihao}</td>
				   <td>${car.chepaihao}</td>
				   <td>${car.shiyongxingzhi}</td>
				   <td>${car.paifangdengji}</td>
				   <td>${car.nianjianshijian}</td>
				   <td>${car.pinpaixinghao}</td>
				   <td>${car.jiagoutedian}</td>
			   </tr>
		   </c:forEach>
</form>
	   </table>
	</div>
  </body>
</html>
